package com.seu.me.test.end;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;

/**
 * 受益人信息
 *
 * @author liangfeihu
 * @since 2019/10/30 14:36
 */
@Data
@ToString
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
public class BnfInfo {
    private String BnfAddress = "";
    private String BankAccount = "";
    private String BankProvince = "";
    private String BankCity = "";
    private String BankType = "";
    private String BankName = "";
    private String BankStreet = "";
    private String BIRTHDAY;
    private String EmailAccept = "";
    private String Gender;
    private String IDNo;
    private String IDType;
    private String IDValDate = "";
    private String IDEndDate = "";
    private String JOB = "";
    private String Phone;
    private String BnfName;
    private String BnfOrganization = "";
    private String PayType;
    private String Relation;
    private String Zip;
    private String BnfGrade;

    public BnfInfo(String bnfAddress, String BIRTHDAY, String gender, String IDNo, String IDType, String IDValDate, String IDEndDate,
                   String phone, String bnfName, String payType, String relation, String JOB, String emailAccept, String zip) {
        this.BnfAddress = bnfAddress == null ? "" : bnfAddress;
        this.BIRTHDAY = BIRTHDAY;
        this.Gender = gender;
        this.IDNo = IDNo;
        this.IDType = IDType;
        this.IDValDate = IDValDate == null ? "" : IDValDate;
        this.IDEndDate = IDEndDate == null ? "" : IDEndDate;
        this.Phone = phone;
        this.BnfName = bnfName;
        this.PayType = payType;
        this.Relation = relation;
        this.JOB = JOB == null ? "" : JOB;
        this.EmailAccept = emailAccept == null ? "" : emailAccept;
        this.Zip = zip == null ? "" : zip;
    }

}
